Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event filter for notifications #37

Merged
merged 1 commit into from
May 6, 2022
Merged

Conversation

RemiRigal
Copy link
Owner

This PR implements enhancements requested in #36.

Notification configurations can now have an additional events array that allows for getting notifications only for a set of events.

Example configurations:

plexautolanguages:

  [...]

  notifications:
    enable: true
    apprise_configs:
      - urls:
          - "tgram://bottoken/ChatID"
        users:
          - "MyUser3"
        events:
          - "play_or_activity"
      - urls:
          - "gotify://hostname/token"
          - "tgram://bottoken/ChatID"
        events:
          - "scheduler"
          - "new_episode"

Valid events are:

  • play_or_activity
  • new_episode
  • updated_episode
  • scheduler

@RemiRigal RemiRigal merged commit 02406ab into master May 6, 2022
@RemiRigal RemiRigal deleted the feat/notifications branch May 6, 2022 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant